Skip to content

all: fixed integration tests for ydb#11

Merged
kprokopenko merged 46 commits intoydb-platform:ydb-developfrom
LostImagin4tion:LostImagin4tion/fix-integration-tests
Feb 4, 2026
Merged

all: fixed integration tests for ydb#11
kprokopenko merged 46 commits intoydb-platform:ydb-developfrom
LostImagin4tion:LostImagin4tion/fix-integration-tests

Conversation

@LostImagin4tion
Copy link
Collaborator

No description provided.

@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/fix-integration-tests branch 10 times, most recently from 0cefedb to 02e2a25 Compare February 2, 2026 20:23
@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/fix-integration-tests branch from 02e2a25 to c266bf3 Compare February 3, 2026 18:04
@LostImagin4tion LostImagin4tion force-pushed the LostImagin4tion/fix-integration-tests branch from 0c5e907 to 65272ba Compare February 4, 2026 15:48
Comment on lines +84 to +97
func unwrapYDBDriver(driver any) *entdrv.YDBDriver {
switch drv := driver.(type) {
case *entdrv.YDBDriver:
return drv
case *YDB:
return unwrapYDBDriver(drv.Driver)
case *WriteDriver:
return unwrapYDBDriver(drv.Driver)
case *dialect.DebugDriver:
return unwrapYDBDriver(drv.Driver)
}
return nil
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

поправлю этот ужас в следующем пре (вместе с Open)

// YDB has strong typing system
// and YDB driver can't convert type aliases to underlying Go type
// Therefore, we have to manually handle these edge cases
func (b *Builder) convertValueYdb(arg any) any {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вот это еще один ужас, возможно, тут надо созвониться, чтобы обсудить)

@kprokopenko kprokopenko merged commit 7bd3cb7 into ydb-platform:ydb-develop Feb 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants